﻿using System.Web;

namespace netaddICTs.Umb.ProtectedMedia.Business.IO {

    public interface IFileStorage{
    
        bool Create(int mediaNodeId, HttpPostedFile postedFile);
        bool Delete(int mediaNodeId);
        long CalculateBytes(string filename);
        long CalculateBytes(int mediaNodeId, HttpPostedFile postedFile);
        string BuildFilename(int mediaNodeId, string filename);
    }
}